class Error:
    error = 0
    page = 0
    clear = 0
    show_page7 = 0
    error_dict = {}
    def __new__(cls):
        if not hasattr(cls, 'instance'):
            cls.instance = super(Error, cls).__new__(cls)
        return cls.instance